package pers.cz.model;

import java.io.Serializable;
import java.util.List;

public class DatabaseDesign implements Serializable {
    private Integer id;

    private Integer parentId;

    private String name;

    private Integer userId;

    private String type;

    private String ext1;

    private List<DatabaseDesign> children;

    public List<DatabaseDesign> getChildren() {
        return children;
    }

    public void setChildren(List<DatabaseDesign> children) {
        this.children = children;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getExt1() {
        return ext1;
    }

    public void setExt1(String ext1) {
        this.ext1 = ext1 == null ? null : ext1.trim();
    }
}
